/*	Copyright
 
 This file falls within the license domain specified in "IAGraphics.h"
 */


#ifndef	_CGImageAdjunct
#define _CGImageAdjunct

#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>
#import "IAStateDefinitions.h"


IAExternCHeader


// Writers

void	CGImageWriteToFile		( CGImageRef image , NSString * path ) ;
void	CGImageWritePNGToFile	( CGImageRef image , NSString * path ) ;
void	CGImageWriteJPGToFile	( CGImageRef image , NSString * path ) ;



// Creators

CGImageRef	CGImageCreateWithDrawingBlock	( CGSize size , void(^draw)(CGContextRef) ) ;

CGImageRef	CGImageCreateWithFile			( NSString * path ) ;
CGImageRef	CGImageCreateWithPNGFile		( NSString * path ) ;
CGImageRef	CGImageCreateWithJPGFile		( NSString * path ) ;



IAExternCFooter




#endif // ifndef _CGImageAdjunct
